UnusedAppRestrictionsBackportService

Wrapper class for IUnusedAppRestrictionsBackportService. The UnusedAppRestrictionsBackportService provides information about whether the calling application is enabled for permission revocation. This class can be extended by OEMs to provide a custom permission revocation setting retrieval implementation. However, note that the implementation _must_ be by the "package verifier" on the device.

Constructors

Link copied to clipboard
constructor()

Properties

val ACTION_UNUSED_APP_RESTRICTIONS_BACKPORT_CONNECTION: String = "android.support.unusedapprestrictions.action.CustomUnusedAppRestrictionsBackportService"
The Intent action that a UnusedAppRestrictionsBackportService must respond to.

Functions

Link copied to clipboard
open fun onBind(@Nullable intent: Intent): IBinder